#ifndef APPCONFIG_H
#define APPCONFIG_H
#include <QString>

#define uint8_t unsigned char
#define uint32_t unsigned int


typedef struct{
    uint8_t temp_flag;
    uint8_t temp_data_en;
    uint8_t Interact_En;
    uint32_t adjust[10][2];
    uint32_t zoom_adjust[5];
    uint32_t InteractZoom;
    uint32_t InteractFocus;
    uint32_t InteractFocus_1;
}t_flash_data;

typedef struct{
    uint32_t zoom;
    uint8_t zoom_position;
    uint32_t focus;
    uint8_t speed;
    uint8_t temp;
    uint32_t max_m1_tick;
    uint32_t max_m2_tick;
    uint32_t now_m1_tick;
    uint32_t now_m2_tick;
}t_now_data;

typedef struct {
    t_now_data now;
    t_flash_data flash;
}t_system_data;




bool textCheck(QString & text,unsigned int val);


#endif // APPCONFIG_H
